package com.ruoyi.system.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.system.domain.AssessType;
import com.ruoyi.system.domain.vo.AssessmentPlanProcessVO;
import com.ruoyi.system.service.IAssessmentPlanProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.security.Security;
import java.util.List;

@RestController()
@RequestMapping("/assessmentPlanProcess")
public class AssessmentPlanProcessController extends BaseController {

    @Autowired
    private IAssessmentPlanProcessService assessmentPlanProcessService;

    @GetMapping("/list")
    public TableDataInfo get(){

        startPage();
        //返回所有查询结果
        List<AssessmentPlanProcessVO> list = assessmentPlanProcessService.getAssessmentPlanProcessVOList();
        return getDataTable(list);
    }
}

